package com.iteaj.iot.client.component;

import com.iteaj.iot.client.TcpSocketClient;
import com.iteaj.iot.client.ClientMessage;
import com.iteaj.iot.client.MultiClientManager;
import com.iteaj.iot.config.ConnectProperties;

public abstract class TcpClientComponent<M extends ClientMessage> extends SocketClientComponent<M> {

    public TcpClientComponent(ConnectProperties config) {
        super(config);
    }

    public TcpClientComponent(ConnectProperties config, MultiClientManager clientManager) {
        super(config, clientManager);
    }

    public abstract TcpSocketClient createNewClient(ConnectProperties config);
}
